summaryrefslogtreecommitdiff
path: root/pysnmp/carrier
Commit message (Collapse)AuthorAgeFilesLines
...
* missing AbstractTransportAddress addedelie2015-01-203-0/+15
|
* - The asyncore-based transport subsystem extended to support POSIXelie2015-01-207-21/+212
| | | | | | | | | | | | sendmsg()/recvmsg() based socket communication what could be used, among other things, in the context of a transparent SNMP proxy application. Technically, the following features were brought into pysnmp with this update: * Sending SNMP packets from a non-local IP address * Receiving IP packets for non-local IP addresses * Responding to SNMP requests from exactly the same IP address the query was sent to. This proves to be useful when listening on both primary and secondary IP interfaces.
* * asyncio transport made compatible with trolliuselie2014-12-154-18/+37
| | | | * check futures for their cancellation status
* missing exception fixelie2014-11-051-1/+1
|
* initial support for asyncio network transport addedelie2014-11-046-0/+253
|
* pylint'edelie2014-06-174-6/+5
|
* fix to asyncore-based transport not to use asyncore's cheap inheritanceelie2014-06-141-0/+2
| | | | from socket object what caused warnings.
* This program is free software; you can redistribute it and/or modifyelie2014-03-242-5/+3
| | | | it under the terms of the BSD 2-Clause License as shipped with pysnmp.
* new public DgramSocketTransport.getLocalAddress() returns local endpointelie2014-01-081-3/+3
| | | | address underlying BSD socket is currently bound to
* * broadcast socket option can now be enabled with the .enableBroadcast()elie2013-12-122-7/+16
| | | | | | | call for any datagram-based transport (namely, UDP and UDP6) * AbstractTransportDispatcher's jobStarted() and jobFinished() methods now accept optional 'count' parameter which is a way for an app to indicate how many responses are expected or have been processed in bulk
* fixes to normalizeAddress()elie2013-09-252-2/+2
|
* IPv6 address normalization moved into UDP6 transportelie2013-09-242-10/+15
|
* forcibly zero ZoneID, FlowID and ScopeID components to make itelie2013-09-241-0/+10
| | | | comparable with user-specified IPv6 endpoint
* minor changes to transport dispatcher's recvId logicelie2013-09-081-5/+2
|
* no default data routing function anymoreelie2013-09-071-5/+7
|
* * A single instance of transport dispatcher can now serve multipleelie2013-09-071-19/+41
| | | | | | | | | receivers (identified by IDs) chosen by a public data routing method. * SnmpEngine.[un]registerTransportDispatcher() methods now accept optional receiver ID token to be used by transport dispatcher's data router. This allows for multiple SNMP engines registration with a single transport dispatcher. * Relevant example added
* sockets now configured with SO_REUSEADDR option to fix possibleelie2013-09-021-0/+1
| | | | Windows error 10048.
* fix to asyncore-based transport to work only with AsynsockDispatcher'selie2013-07-031-6/+21
| | | | socket map and not to touch default asyncore's one
* overload closeTransport() to get a chance to close UNIX pipe on transportelie2013-06-301-0/+5
| | | | shutdown
* fix: do not close transport whenever unregistering it at dispatcherelie2013-06-301-1/+0
|
* move common methods to AbstractTransportelie2013-06-303-19/+16
|
* overload closeTransport() to close UDP port on transport shutdownelie2013-06-301-0/+5
|
* fix: closeTransport() should invoke stopProtocol()elie2013-06-301-1/+0
|
* exception re-raising improved at asynsock/twisted dispatchers so thatelie2013-06-262-5/+8
| | | | original traceback is preserved and reported
* disptacher vs transport compatibiilty verification moved intoelie2013-06-213-2/+11
| | | | base transport class
* raise KeyboardInterrupt for backward compatibilityelie2013-06-081-0/+2
|
* unused variables, imports; wrong indentation; undefined prototype attribueselie2013-06-042-2/+1
| | | | all the things that bothers linter
* missing imports, non-existing variables as suggested by linterelie2013-06-031-4/+1
|
* config.addSocketTransport() helper renamed into config.addTransport()elie2013-06-012-0/+4
| | | | | | and improved by automatically instantiating compatible TransportDispatcher making it dispatcher-agnostic. As an additional bonus, application may not call registerTransportDispatcher() as it would be called by addTransport().
* Asyncore-based dispatcher attempts to use poll() whenever availableelie2013-05-261-2/+8
| | | | | on the platform. It would help handling a really large number (>1024) of file descriptors.
* Fix to twisted/udp non-default local endpoint binding features. Commonelie2013-03-151-3/+3
| | | | socket ('host', port) notation is now supported.
* * explicit twisted dispatcher's timer resolution (of 1 sec) removed to makeelie2013-03-151-6/+3
| | | | | use of global default of 0.5 sec. * intermediate handleTimeout() method replaced with lambda
* fix of rounding error to base I/O dispatcher's next timer call calculationelie2013-03-151-3/+5
|
* catch and mute possible failure of getsockname(), that seems to happenelie2012-12-201-2/+9
| | | | on Windows only so far
* Fix to outgoing queue processing order at socket transport. Nowelie2012-10-111-1/+1
| | | | it's a FIFO discipline rather than LIFO.
* log message sizeselie2012-10-111-2/+3
|
* I/O sockets buffer sizes made configurable, minimum default is nowelie2012-10-111-0/+12
| | | | forced to be no less than 2**11 (to fit two huge datagrams)
* __init__.py's made non-empty as they may be optimized out by packageelie2012-07-045-0/+5
| | | | managers
* always craft local endpoint by ourselveselie2012-07-031-14/+10
|
* emulate tmpnam on Py3Kelie2012-07-031-2/+15
|
* the condition of missing UNIX domain sockets is now handled in the same wayelie2012-07-031-1/+4
| | | | as missing IPv6
* TransportAddressPair-based peer address provisioning functionalityelie2012-07-012-14/+0
| | | | | removed as it is not really needed given the availability of transportDomain information
* hide socket exceptions behind CarrierError oneselie2012-06-301-2/+2
|
* UNIX domain sockets must be explicitly bound regardless of client/server roleelie2012-06-301-1/+8
|
* gracefully handle missing destination addresselie2012-06-301-0/+3
|
* report socket endpoint on bind() failureelie2012-06-301-2/+2
|
* hex dumps of binary parts of the protocol added to ease systemelie2012-06-252-4/+4
| | | | operations analysis.
* minor cosmetic changeselie2012-06-257-17/+19
|
* handle unix pipe removal within this transport objectelie2012-06-251-2/+7
|
* socket transports may now deal not only with their native addresses,elie2012-06-252-7/+20
| | | | | | but also with a special-purpose container object which can hold some additional transport-specific details while still acting as native address objects.